package com.ssm.pre.dao;

import java.util.List;
import java.util.Map;

public interface LifeDao {

	//查询物业缴费记录
	List<Map<String, Object>> queryPropertyFee(Map<String, Object> map)throws Exception;

	//查询电费缴费记录
	List<Map<String, Object>> queryElectricFee(Map<String, Object> map)throws Exception;

	//添加物业费记录或者电费记录
	void addLifeFee(Map<String, Object> orderParams)throws Exception;

	//更改订单支付的状态
	void updateOrderState(Map<String, Object> params)throws Exception;

	//根据houseNumber（3-1-101  1号楼3单元101室）查找物业费记录
	List<Map<String, Object>> queryWechatPropertyByList(Map<String, Object> wechatParams)throws Exception;

	//微信端查询电费账单
	List<Map<String, Object>> queryWechatElectricByList(Map<String, Object> params)throws Exception;

	//微信端根据房屋编号(3#-1-102)查询用电量
	Map<String, Object> queryEclectricFeeByNumber(Map<String, Object> map)throws Exception;

	//根据房号更改电费表中的缴费日期，结余金额以及预交金额
	void updateElectricByHouseNumber(Map<String, Object> params)throws Exception;

	//根据房号，添加一条缴费记录
	void addJiaoFeiByHouseNumber(Map<String, Object> wechatParams)throws Exception;

	//缴费明细表
	void addJiaoFeiMxByHouseNumber(Map<String, Object> wechatParams)throws Exception;
	
	//根据房号更改物业费表中的缴费日期date、starttime、endtime、span、moneyMin、缴费方式feeType
	void updatePropertyFeeByaccountNumber(Map<String, Object> params)throws Exception;

	//微信端物业缴费
	void addPropertyFeeByaccountNumber(Map<String, Object> wechatParams)throws Exception;
	
}
